package com.mystnihon.freeremote.ui;

import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app.Fragment;

import com.actionbarsherlock.app.SherlockFragmentActivity;
import com.mystnihon.freeremote.R;
import com.mystnihon.freeremote.ui.fragment.FilePickerFragment;
import com.mystnihon.freeremote.ui.fragment.FilePickerFragment.UriListener;

public class FilePickerActivity extends SherlockFragmentActivity implements UriListener {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_file_picker);

		Fragment fragment = getSupportFragmentManager().findFragmentById(R.id.fr_file_picker_fragment);
		if (fragment != null && fragment instanceof FilePickerFragment) {
			((FilePickerFragment) fragment).setListener(this);
		}
	}

	@Override
	public void onUriSelected(Uri uri) {

	}

}
